#include<iostream>
#include<string>
#include<sstream>
#include<vector>
#include<unistd.h>
#include"my-shell.hpp"
using namespace std;


int main()
{
    my_shell shell;
    while(true)
    {
        shell.print_prompt();
        //cout<<"11111111111111111"<<endl;

        shell.read_command();
        //cout<<"3333333333333333333"<<endl;
        shell.parse_command();
        //cout<<"44444444444444444444444444"<<endl;
        shell.perform_command();
    }
    return 0;
}